package com.lezhi.socialgram.mapper.sys;

import com.lezhi.socialgram.model.sys.UserPrivacy;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created by daizhen on 2017/4/5.
 */
@Mapper
public interface UserPrivacyMapper {

    int createUserPrivacyTable(@Param("table") String table);

    int insertUserPrivacy(UserPrivacy userPrivacy);

    int updateUserPrivacy(UserPrivacy userPrivacy);

    UserPrivacy queryById(UserPrivacy userPrivacy);

}
